package cn.wolfcode.crm.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Getter@Setter
public class Guard {

     //暂存单状态
    public static final Integer STORAGE_STATE  =1;
    //待审核状态
    public static final Integer PENDING_STATE  =2;
    //申请被拒状态
    public static final Integer REFUSE_STATE  =3;
    //审核通过为付款
    public static final Integer UNPAID_STATE  =4;
    //审核通过并付款
    public static final Integer COMPLETE_STATE  =5;
    private Long id;

    private String num;

    private Client client;

    private String clientName;

    private String employeeName;

    private String auditName;

    private Car car;

    private Product product;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date appDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date auditDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date overtime;

    private Employee employee;

    private Employee audit;

    private Integer state;



}